package com.singfan.core.dao.database.model;

import com.singfan.common.db.annotation.Primarykey;

import java.util.Date;

/**
 *
 * Author: hansonghe
 * Date: 2015-08-19 12:12
 * Desc:
 */
public class CustomerToken {
    //id
    @Primarykey
    private long customerId;
    //身份验证签名
    private String accessToken;
    //所在城市的id
    private int cityId;
    //token的创建时间
    private Date tokenCreateTime;

    public long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(long customerId) {
        this.customerId = customerId;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public int getCityId() {
        return cityId;
    }

    public void setCityId(int cityId) {
        this.cityId = cityId;
    }

    public Date getTokenCreateTime() {
        return tokenCreateTime;
    }

    public void setTokenCreateTime(Date tokenCreateTime) {
        this.tokenCreateTime = tokenCreateTime;
    }
}